package Demo4;

public abstract class Animal {
    public String color;

    public abstract void eat();
    public Animal(String color) {
        this.color = color;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }
}
